const net/http.maxPostHandlerReadBytes
6 uses
net/http (current package)
server.go#L1107: const maxPostHandlerReadBytes = 256 << 10
server.go#L1392: case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
server.go#L1403: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L983: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
transfer.go#L991: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
transfer.go#L995: if n == maxPostHandlerReadBytes {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |